from datetime import date, timedelta

year = int(input("请输入年份："))

june_first = date(year, 6, 1)

weekday = june_first.weekday()

if weekday == 6:
    first_sunday = june_first
else:
    first_sunday = june_first + timedelta(days=(6 - weekday))

father_day = first_sunday + timedelta(days=14)

print(f"{year}年的父亲节是6月{father_day.day}日")